// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'amfe-flexible'
import MintUI from 'mint-ui';
 import { Progress, Badge , Button, Toast } from 'mint-ui'
import './font/iconfont.css';
import './font2/iconfont.css';
import './font_chami/iconfont.css';
Vue.use(MintUI)
import MetaInfo from 'vue-meta-info'
Vue.use(MetaInfo)
Vue.component(Progress.name, Progress);
Vue.component(Badge.name, Badge);
Vue.component(Button.name, Button);
Vue.component(Toast.name, Toast);
import shade from '@/components/shade.vue';
Vue.use(shade);
Vue.component('shade',shade);
import store from '@/store/store'
import 'mint-ui/lib/style.css'
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>',
  store,
  metaInfo() {
    return {
      title: this.$store.state.pageInfo.title,
      meta: [
        {
          name: "description",
          content: this.$store.state.pageInfo.description
        }
      ]
    };
  }
})

//这是测试数据33
